<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>查看账户明细</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link rel="stylesheet" type="text/css" href="/static/themes/default/easyui.css"/>
    <link rel="stylesheet" type="text/css" href="/static/themes/icon.css"/>
    <script type="text/javascript" src="/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/static/js/easyui-lang-zh_CN.js"></script>
</head>
<body>
<table id="dg2" ></table>
<script>
    // 显示账单详情
    $('#dg2').datagrid({
        url: '/show',
        pagination: true,// 分页工具
        pageSize: 10,
        pageList: [5, 10, 15, 20, 50],// 每页可显示条数
        fitColumns: true,// 拉宽
        singleSelect:true,
        fit: true,  // 拉高度
        toolbar: ".wu-toolbar-button",
        columns: [[
            {field: 'id', title: '序号', width: 20},
            {field: 'detailtypename', title: '账务类型', width: 100},
            {field: 'money', title: '账务资金', width: 30},
            {field: 'accountmoney', title: '账户余额', width: 40},
            {field: 'memo', title: '备注信息', width: 210},
            {field: 'detaildatetime', title: '明细时间', width: 60}
        ]]
    });
</script>
</body>
</html>
